#ifndef GOHOMEFORM_H
#define GOHOMEFORM_H

#include <QWidget>
#include<QMessageBox>

namespace Ui {
class GoHomeForm;
}

class GoHomeForm : public QWidget
{
    Q_OBJECT

public:
    explicit GoHomeForm(QWidget *parent = nullptr);
    ~GoHomeForm();
public slots:
    void on_Button_start_clicked();
    void on_PushButton_stop_clicked();
    void on_PushButton_cleanpos_clicked();
    void updateWin();
    void showWarn(QString message);

protected:
    void showEvent(QShowEvent *events) override;

private:
    Ui::GoHomeForm *ui;
    QMessageBox::StandardButton warn;
    int axislist[4]={0,1,2,3};
    bool runflage=false;

};

#endif // GOHOMEFORM_H
